package io.admin.modules.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户消息表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-17
 */
@Data
@ApiModel(value = "用户消息表")
public class MessageDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "消息id")
	private Long id;

	@ApiModelProperty(value = "推送信息类型 1公告2消息")
	private Integer msgType;

	@ApiModelProperty(value = "消息类型（1施工通知、2项目验收通过、3项目验收驳回）")
	private Integer type;

	@ApiModelProperty(value = "信息标题")
	private String title;

	@ApiModelProperty(value = "消息内容")
	private String content;

	@ApiModelProperty(value = "用户Id")
	private Long userId;

	@ApiModelProperty(value = "创建日期")
	private Date createDate;

	@ApiModelProperty(value = "是否已读（0-未读，1-已读）")
	private Integer isRead;

	@ApiModelProperty(value = "外建id")
	private Long keyIds;
	private Long adminUserId;
	private String adminUserName;

}